package com.book.entity;

import java.util.Date;
import java.util.List;

public class Topic {
	private String realname;
	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	private int id;
	private String topicTitle;
	private Date time;
	private String username;
    private List<TopicDetails> details;
	public List<TopicDetails> getDetails() {
		return details;
	}

	public void setDetails(List<TopicDetails> details) {
		this.details = details;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTopicTitle() {
		return topicTitle;
	}

	public void setTopicTitle(String topicTitle) {
		this.topicTitle = topicTitle;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date date) {
		this.time = date;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
